package models;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

import play.db.jpa.Model;

@Entity
public class UserFriend extends Model {
	
	public String name;
	public String facebookId;
	public String facebookProfileUrl;
	public String facebookProfilePictureUrl;
	
	@ManyToOne
	public User user;
	
	@OneToMany
	public List<MovieLike> movieLikes;
	@OneToMany
	public List<TvShowLike> tvShowLikes;
	
	
	public UserFriend(String name, String facebookId, User user) {
		this.name = name;
		this.facebookId = facebookId;
		this.user = user;
	}

}
